<?php
require_once '../Model/Player/OPRebelsFaction.php';

class RebelsFactionWithoutRebelsTest extends PHPUnit_Framework_TestCase {
	
	public function setUp() {
		$this->powerBar = OPPowerBar::newWithGoalAndNumberOfLevels(100, 5);
		$this->rebelsFaction = OPRebelsFaction::newWithPowerBar($this->powerBar);
		
	}
	
	/**
	 * @test
	 */
	public function rebelsFactionShouldBeNamedRebels() {
		$this->assertEquals('Rebels', $this->rebelsFaction->name());
		
	}
	
	/**
	 * @test
	 */
	public function rebelsFactionShouldHaveAPowerBar() {
		$this->assertEquals($this->powerBar, $this->rebelsFaction->powerBar());
		
	}
	
	/**
	 * @test
	 */
	public function factionMembersShouldBeEmpty() {
		$this->assertEquals(0, sizeof($this->rebelsFaction->factionMembers()));
		
	}

	
}